package cn.sharp.bbs.service;

import cn.sharp.bbs.common.page.PageParam;

import java.util.Map;

public interface RoleManageService {
    Map<String, Object> getRoleList(PageParam pageParam);

    Map<String, Object> getRolePerms(Long role_id, PageParam pageParam);

    void setRolePerms(Long role_id, Long[] perms);

    boolean isInvalidRole(Long role_id);

    boolean isInvalidPerm(Long perm_id);
}
